package com.zwt.constant;

/**
 * Created by zwt on 2018/9/5.
 */
public interface RedisConstant {

    /**
     * 用户key前缀
     */
    String USER_KEY = "USER_";

    /**
     * 注册验证码key前缀
     */
    String REG_KEY ="REG_";

    /**
     * 登录验证码key前缀
     */
    String LOGIN_KEY ="LOGIN_";





    /**
     * 缓存时间
     */
    Integer MINUTE_1 = 60;
    Integer HOUR_1 = MINUTE_1*60;
    Integer DAY_1 = HOUR_1*24;
    Integer MONTH_1 = DAY_1*30;


}
